﻿using Future.Shared.Core.Base;
using Futuret.Sys.IService.Sys.Dto;
using Futuret.Sys.Model.Entity.Sys;

namespace Futuret.Sys.IService.Sys;

/// <summary>
///     Author: Riva
///     Date: 2023/7/11 14:44
///     Description:用户服务
/// </summary>
public interface ISysUserService : IBaseSysService<SysUser>
{
    /// <summary>
    ///     新增
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task Add(SysUserParamDto input);

    /// <summary>
    ///     编辑
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task Edit(SysUserParamDto input);

    /// <summary>
    ///     删除
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<bool> Delete(BaseInputIds input);

    /// <summary>
    ///     分页
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<List<SysUser>> Page(SysUserParamDto input);
}